echo ">> deleting stopped containers ...\n\n"
docker rm $(docker ps -a -q)

echo ">> deleting untagged images ...\n\n"
docker rmi -f $(docker images -a | grep "^<none>" | awk '{print $3}')

echo ">> images\n"
docker images